package nine;

import java.math.BigDecimal;
import java.math.BigInteger;

public class Shu {
    public static void main(String[] args) {
        //
        Long l=new Long("105263157894736840");
        for (;l<Long.MAX_VALUE;l++){
            String str=""+l;
            int count=str.length()-1;
            System.out.println(l);
            if ((l/10+Math.pow(10,count)*(l%10))/2.0==l){
                System.out.println(l);
                break;
            }
        }
    }

}
